
# Copyright (C) 2007 Richard Uhler
# This file is part of Esiply.
#
# Esiply is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License, Version 2,
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

BUILT_SOURCES = parser.h
AM_YFLAGS = -d
noinst_LIBRARIES = libesiply.a
libesiply_a_CPPFLAGS = -DJSLIBDIR='"$(pkgdatadir)/lib/"'
libesiply_a_SOURCES = ArgumentListExpression.cpp\
					  Array.cpp\
					  ArrayExpression.cpp\
					  BinaryExpression.cpp\
					  Block.cpp\
					  Boolean.cpp\
					  CaseClause.cpp\
					  CaseClauses.cpp\
					  CatchBlock.cpp\
					  Completion.cpp\
					  CompletionStatement.cpp\
					  ConditionalExpression.cpp\
					  DoWhileStatement.cpp\
					  ErrorObject.cpp\
					  EsniFunction.cpp\
					  EsiplyObject.cpp\
					  EvalFunction.cpp\
					  ExpressionStatement.cpp\
					  FormalParameterList.cpp\
					  ForInStatement.cpp\
					  ForStatement.cpp\
					  Function.cpp\
					  FunctionDeclaration.cpp\
					  FunctionExpression.cpp\
					  HostContext.cpp\
					  HostFunction.cpp\
					  HostValue.cpp\
					  IfStatement.cpp\
					  IfElseStatement.cpp\
					  InternalFunction.cpp\
					  JanusFunction.cpp\
					  List.cpp\
					  NameValue.cpp\
					  NameValueList.cpp\
					  NormalFunction.cpp\
					  Null.cpp\
					  Number.cpp\
					  Object.cpp\
					  ObjectExpression.cpp\
					  Reference.cpp\
					  RegularExpressionLiteral.cpp\
					  RegularFunction.cpp\
					  Scope.cpp\
					  SourceElement.cpp\
					  SourceElements.cpp\
					  Statement.cpp\
					  String.cpp\
					  SwitchStatement.cpp\
					  ThisExpression.cpp\
					  TryStatement.cpp\
					  UnaryExpression.cpp\
					  Undefined.cpp\
					  Value.cpp\
					  ValueType.cpp\
					  VariableStatement.cpp\
					  WithStatement.cpp\
					  esni.cpp\
					  esiply.cpp\
					  parser.ypp\
					  scanner.lpp

bin_PROGRAMS = esiply esiply-shootout esiply-mozilla
esiply_LDADD = libesiply.a
esiply_SOURCES = host.cpp
esiply_shootout_SOURCES = shootout.cpp
esiply_shootout_LDADD = libesiply.a
esiply_mozilla_SOURCES = mozilla.cpp
esiply_mozilla_LDADD = libesiply.a

